﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity;
using ConsoleApp1.Modals.Entity;

namespace ConsoleApp1.Modals
{
    public class Admin2000DbContext:DbContext
    {
        public Admin2000DbContext() : base("server=.;database=Admin2000;uid=sa;pwd=123456")
        {

        }
        public DbSet<Student> Students { get; set; }

        public DbSet<Class> Classes { get; set; }
    }
}
